﻿#include "Array2D.h"
#include<iostream>

int main() {
	Array2D<int> data;

	data.setSize(10, 5);

	for (int y = 0; y < 5; y++) {
		for (int x = 0; x < 10; x++) {
			data(x, y) = x + y;
		}
	}

	for (int y = 0; y < 5; y++) {
		for (int x = 0; x < 10; x++) {
			std::cout << data(x, y) << std::endl;
		}
	}

	std::cin.get();
}